package com.bit.springbook.adapter;

public class MyLog1Adapter implements Log4J{
    private MyLog1 myLog1;

    public MyLog1Adapter(MyLog1 myLog1) {
        this.myLog1 = myLog1;
    }

    @Override
    public void log(String msg) {
        myLog1.print(msg);
    }
}
